
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskManage;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskManage entities
 * 
 */
public interface TaskManageService {

	/**
	* Return a count of all TaskManage entity
	* 
	 */
	public Integer countTaskManages();

	/**
	* Load an existing TaskManage entity
	* 
	 */
	public Set<TaskManage> loadTaskManages();

	/**
	* Return all TaskManage entity
	* 
	 */
	public List<TaskManage> findAllTaskManages(Integer startResult, Integer maxRows);

	/**
	* Save an existing Employee entity
	* 
	 */
	public TaskManage saveTaskManageEmployee(Integer id, Employee related_employee);

	/**
	* Save an existing TaskManage entity
	* 
	 */
	public void saveTaskManage(TaskManage taskmanage);

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskManage deleteTaskManageTask(Integer taskmanage_id, Integer related_task_id);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public TaskManage deleteTaskManageEmployee(Integer taskmanage_id_1, Integer related_employee_id);

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskManage saveTaskManageTask(Integer id_1, Task related_task);

	/**
	* Delete an existing TaskManage entity
	* 
	 */
	public void deleteTaskManage(TaskManage taskmanage_1);

	/**
	 */
	public TaskManage findTaskManageByPrimaryKey(Integer id_2);
}